package com.swlz.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 商城用户收货地址
 * TableName : MALL_ADDRESS
 * ClassName : com.swlz.entity.MallAddress
 * Author : swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-18 11:10:47
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("MALL_ADDRESS")
public class MallAddress  {


	/**
	 * <pre>商城用户收货地址编号 - ADDRESS_ID</pre>
	 **/
	@Id
	private Long addressId;
	/**
	 * <pre>用户编号 - USER_ID</pre>
	 **/
	private Long userId;
	/**
	 * <pre>商城用户收货人 - ADDRESS_NAME</pre>
	 **/
	private String addressName;
	/**
	 * <pre>商城用户收货人电话 - ADDRESS_TEL</pre>
	 **/
	private String addressTel;
	/**
	 * <pre>商城用户收货地址邮编 - ADDRESS_ZIP</pre>
	 **/
	private String addressZip;
	/**
	 * <pre>商城用户收货地址编码 - ADDRESS_CODE</pre>
	 **/
	private String addressCode;
	/**
	 * <pre>商城用户收货详细地址 - ADDRESS_INFO</pre>
	 **/
	private String addressInfo;
	/**
	 * <pre>是默认收货地址吗 - ADDRESS_DEFAULT</pre>
	 **/
	private Boolean addressDefault;


	/**
	 * <pre>获取商城用户收货地址编号</pre>
	 **/
	public Long getAddressId() {
        return addressId;
    }

	/**
	 * <pre>设置商城用户收货地址编号</pre>
	 **/
    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }

	/**
	 * <pre>获取用户编号</pre>
	 **/
	public Long getUserId() {
        return userId;
    }

	/**
	 * <pre>设置用户编号</pre>
	 **/
    public void setUserId(Long userId) {
        this.userId = userId;
    }

	/**
	 * <pre>获取商城用户收货人</pre>
	 **/
	public String getAddressName() {
        return addressName;
    }

	/**
	 * <pre>设置商城用户收货人</pre>
	 **/
    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

	/**
	 * <pre>获取商城用户收货人电话</pre>
	 **/
	public String getAddressTel() {
        return addressTel;
    }

	/**
	 * <pre>设置商城用户收货人电话</pre>
	 **/
    public void setAddressTel(String addressTel) {
        this.addressTel = addressTel;
    }

	/**
	 * <pre>获取商城用户收货地址邮编</pre>
	 **/
	public String getAddressZip() {
        return addressZip;
    }

	/**
	 * <pre>设置商城用户收货地址邮编</pre>
	 **/
    public void setAddressZip(String addressZip) {
        this.addressZip = addressZip;
    }

	/**
	 * <pre>获取商城用户收货地址编码</pre>
	 **/
	public String getAddressCode() {
        return addressCode;
    }

	/**
	 * <pre>设置商城用户收货地址编码</pre>
	 **/
    public void setAddressCode(String addressCode) {
        this.addressCode = addressCode;
    }

	/**
	 * <pre>获取商城用户收货详细地址</pre>
	 **/
	public String getAddressInfo() {
        return addressInfo;
    }

	/**
	 * <pre>设置商城用户收货详细地址</pre>
	 **/
    public void setAddressInfo(String addressInfo) {
        this.addressInfo = addressInfo;
    }

	/**
	 * <pre>获取是默认收货地址吗</pre>
	 **/
	public Boolean getAddressDefault() {
        return addressDefault;
    }

	/**
	 * <pre>设置是默认收货地址吗</pre>
	 **/
    public void setAddressDefault(Boolean addressDefault) {
        this.addressDefault = addressDefault;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("addressId=");
    	str.append(addressId);
    	str.append(", ");
    	str.append("userId=");
    	str.append(userId);
    	str.append(", ");
    	str.append("addressName=");
    	str.append(addressName);
    	str.append(", ");
    	str.append("addressTel=");
    	str.append(addressTel);
    	str.append(", ");
    	str.append("addressZip=");
    	str.append(addressZip);
    	str.append(", ");
    	str.append("addressCode=");
    	str.append(addressCode);
    	str.append(", ");
    	str.append("addressInfo=");
    	str.append(addressInfo);
    	str.append(", ");
    	str.append("addressDefault=");
    	str.append(addressDefault);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}